package huangjinkuanggong;

import java.awt.*;

public class Rock extends Object{
    Rock(){
        this.x = (int)(Math.random()*700);
        this.y = (int)(Math.random()*550+300);
        this.width=10;
        this.height = 10;
        this.flag = false;
        this.m = 15;
        this.count = 1;
        this.image = Toolkit.getDefaultToolkit().getImage("C:\\Users\\杨翔压民\\Desktop\\image\\gold4.jpg");
    }
}
